package com.chenfan.finance.model;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * toc_sales_order_header
 * @author 
 */
@Data
public class CfSalesorderHeader implements Serializable {
    private Long sysId;

    private Long tradeId;

    private String tradeNo;

    private Byte platformId;

    private Long shopId;

    private Long warehouseId;

    private Byte warehouseType;

    private String srcTids;

    private String payAccount;

    private Byte tradeStatus;

    private Byte checkStep;

    private Integer consignStatus;

    private Integer tradeFrom;

    private Integer tradeType;

    private Integer deliveryTerm;

    private String freezeReason;

    private Integer refundStatus;

    private Integer unmergeMask;

    private Integer fenxiaoType;

    private String fenxiaoNick;

    private LocalDateTime tradeTime;

    private LocalDateTime payTime;

    private String delayToTime;

    private BigDecimal goodsCount;

    private Integer goodsTypeCount;

    private String singleSpecNo;

    private BigDecimal rawGoodsCount;

    private Integer rawGoodsTypeCount;

    private String customerType;

    private Integer customerId;

    private String buyerNick;

    private Byte idCardType;

    private String idCard;

    private String receiverName;

    private String receiverCountry;

    private String receiverProvince;

    private String receiverCity;

    private String receiverDistrict;

    private String receiverAddress;

    private String receiverMobile;

    private String receiverTelno;

    private String receiverZip;

    private String receiverArea;

    private String receiverRing;

    private String receiverDtb;

    private String toDeliverTime;

    private String preChargeTime;

    private String currency;

    private Byte isPrevNotify;

    private Integer logisticsId;

    private String logisticsNo;

    private String buyerMessage;

    private String csRemark;

    private Integer remarkFlag;

    private String printRemark;

    private Integer noteCount;

    private Integer buyerMessageCount;

    private Integer csRemarkCount;

    private Integer csRemarkChangeCount;

    private BigDecimal goodsAmount;

    private BigDecimal postAmount;

    private BigDecimal otherAmount;

    private BigDecimal discount;

    private BigDecimal receivable;

    private BigDecimal discountChange;

    private BigDecimal tradePrepay;

    private BigDecimal dapAmount;

    private BigDecimal codAmount;

    private BigDecimal piAmount;

    private BigDecimal extCodFee;

    private BigDecimal goodsCost;

    private BigDecimal postCost;

    private BigDecimal otherCost;

    private BigDecimal profit;

    private BigDecimal paid;

    private BigDecimal weight;

    private BigDecimal volume;

    private BigDecimal tax;

    private BigDecimal taxRate;

    private BigDecimal commission;

    private Integer invoiceType;

    private String invoiceTitle;

    private Integer invoiceId;

    private Integer salesmanId;

    private Integer salesScore;

    private Integer checkerId;

    private Integer fcheckerId;

    private Integer checkouterId;

    private Integer splitPackageNum;

    private Integer flagId;

    private Integer badReason;

    private Integer isSealed;

    private Integer giftMask;

    private Integer splitFromTradeId;

    private Byte largeType;

    private String stockoutNo;

    private Integer logisticsTemplateId;

    private Integer sendbillTemplateId;

    private Integer revertReason;

    private Integer cancelReason;

    private Integer isUnpaymentSms;

    private Long packageId;

    private Integer tradeMask;

    private String reserve;

    private Integer versionId;

    private LocalDateTime modified;

    private LocalDateTime created;

    private List<CfSalesorderDetail> goodsList;

    private Date taskYearMonth;

    private static final long serialVersionUID = 1L;
}